package com.common.api.enums;

import com.common.api.iface.ErrorDescribe;

import lombok.Getter;

/**
 * @author ficus
 * 基础异常枚举
 */
@Getter
public enum BaseErrorEnum implements ErrorDescribe {
	UNFILED_ERROR("0","未分类异常"),
	UNKOW_ERROR("-1","未处理异常"),
	;

	private BaseErrorEnum(String errorCode,String errorMsg){
		this.errorCode=errorCode;
		this.errorMsg=errorMsg;
	};
	
	/**异常编码*/
	private String errorCode;
	
	/**异常信息*/
	private String errorMsg;
	
}
